# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Aaron Schaefer <aaron@elasticdog.com>

pkgbase=python-gnupginterface
pkgname=python2-gnupginterface
pkgver=0.3.2
pkgrel=1
pkgdesc='A Python interface to GNU Privacy Guard (GnuPG).'
arch=('i686' 'x86_64')
url='http://py-gnupg.sourceforge.net/'
license=('GPL')
depends=('gnupg' 'python2')
conflicts=('python-gnupginterface<=0.3.2-6')
replaces=('python-gnupginterface<=0.3.2-6')
source=("http://downloads.sourceforge.net/sourceforge/py-gnupg/GnuPGInterface-$pkgver.tar.gz")
md5sums=('d4627d83446f96bd8c22f8d15db3f7c2')

package_python2-gnupginterface() {
  cd "$srcdir/GnuPGInterface-$pkgver"
  python2 setup.py install --root="$pkgdir" -O1
}
